#include<iostream>
#include<stdio.h>
using namespace std;



int main()
{
    const unsigned int MAXSIZE = 10;
    int a[MAXSIZE] = {1,2,3,4,5,6,7,8,9,10};
    for(int *begin = &a[0], *end = &a[0] + MAXSIZE; begin != end; ++begin)
    {
        cout << "a" << "[" << begin - a << "]" << " = " << *begin << endl;
    }
    return 0;

}

